$pass = is_logged($session_id);
if ($pass == "N") {
include("member_login_1.html");
} elseif($pass =="Y") {
?>
if ($action=="update_member_account") {
update_member_account($account_name,$account_company,$account_address,$account_city,$account_state,$account_zip,$account_phone,$account_fax,$account_email,$account_password);
echo "Account Updated!
";
}
?>
$account_id = get_account_id($session_id);
$db = new ps_DB;
$q = "SELECT * FROM account WHERE account_id = '$account_id'";
$db->query($q);
$db->next_record();
?>
Welcome
back,
$db->p("account_name"); ?>
}
if (setup("affiliate") == Y) { ?>
Your Affiliate
Account:
if (affiliate_exist($account_id) == Y) { ?>
View
your affiliate area.
} else { ?>
You
do not have an affiliate account, click here to set one up now.
}
}
}?>